/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nouveauprojet;

/**
 *
 * @author tsaan
 */
public class HollaPersonne {

   private String nom;
   private int age;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

   public HollaPersonne(String nom, int age ){
       this.nom= nom;
      this.age = age;
   }

    @Override
   public String toString(){
       return "Nom"+this.getNom()+" Age:  "+this.getAge();
   }



}
